package cn.funeralobjects.ams.enums;

import cn.funeralobjects.model.EnumCodePair;
import lombok.Getter;

/**
 * 访问控制key的状态枚举
 * @author FuneralObjects
 * Create date: 2020/5/24 11:18 AM
 */
public enum AccessKeyStatus implements EnumCodePair<AccessKeyStatus> {
    /**
     * 启用
     */
    ACTIVE("Active"),
    /**
     * 禁用
     */
    INACTIVE("Inactive");

    /**
     * 名称编码
     */
    @Getter
    private final String code;

    AccessKeyStatus(String code) {
        this.code = code;
    }

    @Override
    public AccessKeyStatus getContent() {
        return this;
    }
}
